package com.bupt.smart.model;

import java.sql.Timestamp;

/**
 * Created by HH on 2016/7/7.
 */
public class OrderInfo {
    private int ID;
    private int marketID;
    private int goodID;
    private int goodNum;
    private String marketName;
    private String delivery;
    private String privilege;
    private String goodName;
    private String address;
    private Double goodPrice;
    private Double sumPrice;
    private Double lowPrice;
    private Double paymentPrice;
    private Timestamp deliveryTime;
    private Timestamp orderTime;

    public int getID() {
        return ID;
    }
    public void setID(int iD) {
        ID = iD;
    }
    public int getMarketID() {
        return marketID;
    }
    public void setMarketID(int marketID) {
        this.marketID = marketID;
    }
    public int getGoodID() {
        return goodID;
    }
    public void setGoodID(int goodID) {
        this.goodID = goodID;
    }
    public int getGoodNum() {
        return goodNum;
    }
    public void setGoodNum(int goodNum) {
        this.goodNum = goodNum;
    }
    public String getMarketName() {
        return marketName;
    }
    public void setMarketName(String marketName) {
        this.marketName = marketName;
    }
    public String getDelivery() {
        return delivery;
    }
    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }
    public String getPrivilege() {
        return privilege;
    }
    public void setPrivilege(String privilege) {
        this.privilege = privilege;
    }
    public String getGoodName() {
        return goodName;
    }
    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public Double getGoodPrice() {
        return goodPrice;
    }
    public void setGoodPrice(Double goodPrice) {
        this.goodPrice = goodPrice;
    }
    public Double getSumPrice() {
        return sumPrice;
    }
    public void setSumPrice(Double sumPrice) {
        this.sumPrice = sumPrice;
    }
    public Double getLowPrice() {
        return lowPrice;
    }
    public void setLowPrice(Double lowPrice) {
        this.lowPrice = lowPrice;
    }
    public Double getPaymentPrice() {
        return paymentPrice;
    }
    public void setPaymentPrice(Double paymentPrice) {
        this.paymentPrice = paymentPrice;
    }
    public Timestamp getDeliveryTime() {
        return deliveryTime;
    }
    public void setDeliveryTime(Timestamp deliveryTime) {
        this.deliveryTime = deliveryTime;
    }
    public Timestamp getOrderTime() {
        return orderTime;
    }
    public void setOrderTime(Timestamp orderTime) {
        this.orderTime = orderTime;
    }
    @Override
    public String toString() {
        return "OrderInfo [ID=" + ID + ", marketID=" + marketID + ", goodID=" + goodID + ", goodNum=" + goodNum
                + ", marketName=" + marketName + ", delivery=" + delivery + ", privilege=" + privilege + ", goodName="
                + goodName + ", address=" + address + ", goodPrice=" + goodPrice + ", sumPrice=" + sumPrice
                + ", lowPrice=" + lowPrice + ", paymentPrice=" + paymentPrice + ", deliveryTime=" + deliveryTime
                + ", orderTime=" + orderTime + "]";
    }
}
